When an app folder is opened it would do so without grabbing the
keyboard focus, so one could not navigate with the arrow keys without
pressing Tab. This adds the focus parameter to popup()'s grab, which
sets the key focus to the elements of the folder when it is opened.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3338>
(cherry picked from commit
9569239ec5e774f59bb973adb34196b984c50e85)
this._isOpen = this._grabHelper.grab({
actor: this,
+ focus: this._editButton,
onUngrab: () => this.popdown(),
});